package com.study.mike.model.po;

import lombok.Data;


/**
 * @author KangHui
 * @Date 2022/8/19 16:47
 */
@Data
public class QueryRolePO {
    /**
     * 角色名
     */
    private String roleName;

    /**
     * 当前页
     */
    private Integer pageCurrent;

    /**
     * 每页大小
     */
    private Integer pageSize;

    public Integer getPageCurrent() {
        return pageCurrent = pageCurrent == null ? 1 : pageCurrent;
    }

    public Integer getPageSize() {
        return pageSize = pageSize == null ? 10 : pageSize;
    }
}
